# Maintainer: Willow Barraco <contact@willowbarraco.fr>
pkgname=hare-wayland
pkgver=0_git20240817
_commit=81648414049c29e3fc5a62dd604f8f3a6dc7b00f
pkgrel=0
pkgdesc="Native Hare Wayland bindings"
url="https://sr.ht/~sircmpwn/hare-wayland"
arch="x86_64 aarch64 riscv64" # hare
license="MPL-2.0"
makedepends="hare hare-xml wayland-dev"
source="
	$pkgname-$_commit.tar.gz::https://git.sr.ht/~sircmpwn/hare-wayland/archive/$_commit.tar.gz
"
builddir="$srcdir/$pkgname-$_commit"

build() {
	make -j1 PREFIX=/usr
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" PREFIX=/usr install
}
sha512sums="
62e2f16f9c2b2815e7161da8c8f1ee578a8f2990d74587245939758899f8142da97fd8e2cbf09e46242d54059a9bcebb70a3831a4f5018d1ee937c12f4eb23f6  hare-wayland-81648414049c29e3fc5a62dd604f8f3a6dc7b00f.tar.gz
"
